import java.text.SimpleDateFormat;
import java.util.Date;

public class Time {

	public static void main(String[] args) {
		Date date = new Date();
		SimpleDateFormat ss = new SimpleDateFormat("yyyy-MM-dd HH-mm-ss");
		System.out.println(ss.format(date));
	}

}
